package com.du.stutestsys.service.Administrator;

import com.du.stutestsys.entity.ClassMag;
import com.du.stutestsys.entity.ClassTeacher;
import com.du.stutestsys.entity.Grade;
import com.du.stutestsys.entity.SysUser;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface ClassMagService {

    //增加班级and老师
    boolean addClassMagAndTeacher(ClassMag classMag,List<ClassMag> classMagList);

    boolean updateClassGrade();

    //修改班级and老师
    boolean updateClassTeacher(ClassMag classMag,Map<SysUser, SysUser> teachers);

    boolean updateClassMag(ClassMag classMag);

    boolean updateTeacher(Map<SysUser, SysUser> teachers);

    //查询班级
    List<ClassMag> selectClassMag(ClassMag classMag);

    //绑定学员

    //解除老师和班级的关联
    boolean relieveClass(List<Long> ids);
}
